<!DOCTYPE html>
<html xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="~{common/admin-list-template}">
<head>
    <title>一般权限</title>
    <link rel="styleSheet" href="/bower_components/layer/theme/default/layer.css">
</head>
<body class="hold-transition skin-green-light  sidebar-mini">

<div class="content-wrapper" layout:fragment="content">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>一般权限</h1>
    </section>
    <!-- Main content -->
    <section class="content container-fluid">
        <!-- list box -->
        <div class="page-list box box-default" data-widget="box-widget">
            <div class="box-header">

            </div>
            <!-- /.box header -->
            <div class="box-body table-responsive">
                <div id="toolbar" class="btn-group">
                    <a securitys:add id="btn_add" class="btn btn-default" onclick="operate.toAdd()">
                        <i class="fa fa-plus" aria-hidden="true"></i>
                        新增
                    </a>
                    </c:if>

                    <a securitys:delete id="btn_delete" class="btn btn-danger" onclick="operate.batchDel();">
                        <i class="fa fa-remove" aria-hidden="true"></i>
                        选择删除
                    </a>
                </div>
                <!-- /.toobar -->
                <table securitys:list id="table-data" data-toggle="table">
                    <thead>
                    <tr>
                        <th data-checkbox="true"></th>
                        <th data-field="name" data-halign="center" data-align="center">名称</th>
                        <th data-field="remarks" data-halign="center" data-align="center">备注</th>
                        <th data-field="addDate" data-halign="center" data-formatter="formatter.datetime"
                            data-sortable="true" data-align="center">添加时间
                        </th>
                        <th data-field="editDate" data-halign="center" data-formatter="formatter.datetime"
                            data-sortable="true" data-align="center">修改时间
                        </th>
                        <th data-formatter="formatter.oper" data-events="tableEvent" data-halign="center"
                            data-align="center">操作
                        </th>
                    </tr>
                    </thead>
                </table>
                <!-- /.table -->
                <div securitys:printAll id="div-security-info"></div>
                <!-- /.security info -->
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.list -->
    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
<div layout:fragment="page-js">
    <script src="/dist/js/pages/commonlyauthority/commonlyauthority-list.js"></script>
</div>


</body>
</html>